package com.oig.sys.auth.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(description = "租户显示类")
public class TenantInfoVo {

    @Schema(description = "主键id")
    private Integer id;
    @Schema(description = "租户编码")
    private String code;
    @Schema(description = "租户名称")
    private String name;
    @Schema(description = "社会统一编码")
    private String idCard;
    @Schema(description = "法人")
    private String legalPerson;
    @Schema(description = "联系人")
    private String linkPerson;
    @Schema(description = "联系电话")
    private String linkPhone;
    @Schema(description = "联系地址")
    private String linkAddress;
    @Schema(description = "证件附件")
    private String fileId;
    @Schema(description = "证件附件url")
    private String fileUrl;
    @Schema(description = "证件附件名")
    private String fileName;

    @Schema(description = "状态")
    private String status;

    @Schema(description = "创建人")
    private String createUserName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "最后更新人")
    private String lastUpdateName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(description = "最后更新时间")
    private Date lastUpdateTime;

}
